/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ejercicio2;

/**
 *
 * @author Alejandro
 */
public class ejercicio11 {
    static void ContrarElementosVector (int[][] array) {
        for(int i=0;i<array.length;i++) {
            System.out.println("La fila " + (i+1) + " tiene " + array[i].length + " elementos");
        }
    }
    public static void main(String[] args)  {
        int[][] vector = 
    {
        {4,6,7},
        {5,6,6},
        {1,1,2,85,764,43,6},
        {4,6,8,4}
    };
    ContrarElementosVector(vector);
    }
}
